#ifndef FUZZY_RULES_H
#define FUZZY_RULES_H

class FuzzyRules
{
public:
    FuzzyRules();
    double analyze(double lowBSW, double mediumBSW, double highBSW,
                   double lowPressure, double mediumPressure, double highPressure,
                   double lowPermeability, double mediumPermeabiliy, double highPermeability,
                   double lowNetpay, double mediumNetpay, double highNetpay);

    double minor(double x,double y, double z, double w);
    double trapeze(double value, int analise);
    double major(double x,double y, double z, double w, double j);

private:
    double rules[80];
    double analyzed[100];
    double sample;
    double transmajor[4];
};

#endif // FUZZY_RULES_H
